home *** CD-ROM | disk | FTP | other *** search
/ Dictionaries & Language / Dictionaries and Language (Chestnut CD-ROM) (1993).iso / chinese / njstar12 / njstar.man < prev    next >
Encoding:
Text File  |  1991-08-21  |  56.5 KB  |  1,244 lines

  1.                 ##             ##
  2.                 ##             ## #########         ##########
  3.           ###############      ##   ##  ##          ##      ##
  4.                 ##             ##   ##  ##          ## **** ##
  5.                 ##           ###### ## ##           ##      ##
  6.            #############       ##   ## #            ##########
  7.            ## ##   ## ##      ###  ##  #####            ##
  8.            ##  #   #  ##      #### ##    ##         ##  ##
  9.            ##   # #   ##      #### ##    ##         ##  ##
  10.            ## ####### ##     # ### ## # ##          ##########
  11.            ##   ##    ##     # ##  ## ####         ##   ##
  12.            ## ####### ##       ## ##   ##         ##    ##
  13.            ##   ##    ##       ## ##  ####       #  ##########
  14.            ##   ##    ##       ## #  ## ###             ##
  15.            ##   ##  ####       ## # ##   ###            ##
  16.            #          #        # # #      #       ##############
  17.  
  18.  
  19.                   NJSTAR - A Chinese Editor Version 1.20
  20.  
  21.             Copyright (C) Hongbo Ni 1991. All Rights Reserved.
  22.  
  23.  
  24.   This is the  shareware  version  of  NJSTAR  ver  1.20. It  can  only  be
  25.   distributed free of charge and in verbatim form, no change can  be  made.
  26.   Commercial application is reserved by the author.
  27.  
  28.   Many hours of work have gone  into  the  development  of  NJSTAR,  and  I
  29.   regularly incorporate suggested changes into the product as I am able to.
  30.   The only way I can continue to provide products like NJSTAR and to  offer
  31.   outstanding technical support, is  for  you  to  register  your  copy  of
  32.   NJSTAR. I like the shareware concept, and I would like to stay a part  of
  33.   it. But I can do so only through registrations of  NJSTAR.  Please  don't
  34.   take this the wrong way - try out NJSTAR for 30  days  or  so,  under  no
  35.   obligation whatsoever. But if you found it is useful and continue to  use
  36.   it after that 30-day period, please pay $39 US dollar  plus mail handling
  37.   charge: $5 for Australian user, $10 for overseas user for your registration
  38.   to:
  39.         Hongbo Ni
  40.         10/21 Waratah Ave,
  41.         RANDWICK NSW 2031 AUSTRALIA.
  42.  
  43.   Thanks!
  44.  
  45.   Registered user will  receive  latest  registered  copy  of  NJSTAR, which
  46.   allow you to save LianXiang & PinYin dictionary, and save & print your full
  47.   document, a POSTSCRIPT printing program and plus additional  utilities,
  48.   additional configuration files not on the shareware distribution disk, and
  49.   you will receive free technical support and low cost updates.
  50.  
  51.   Please report any bugs or suggestions to the me. I can be contacted on above
  52.   address or on:
  53.  
  54.         Phone: (02) 697 5527 (BH)   (02) 399 9876 (AH)
  55.         E-mail: hongbo@usage.csd.unsw.oz.au
  56.  
  57. -------------------------------------------------------------------------------
  58.                   NEW FEATURES IN VERSION 1.20
  59.                (See Reversion History for Details)
  60. -------------------------------------------------------------------------------
  61. (1)  Intelligent PinYin LianXiang: For some Chinese Chars, the LianXiang list
  62.      are TOO long, you need to press '>' few times before getting what you want.
  63.      In Ver1.2, Instead of pressing '>', Just typing the PinYin of wanted char,
  64.      the wanted char will be displayed on the top of the list. If the PinYin
  65.      match a multiword LianXiang, then the multiword will be selected. It can
  66.      LianXiang Back two Chinese characters.
  67.  
  68. (2)  Able to Read from and Write to 'zW' and 'Hz' encoded files.
  69.      Generate PCX file TOO.
  70.  
  71. (3)  Print to 9pin and 24pin EPSON Compatible Dot Matrix Printer within NJSTAR.
  72.      Have continuous and manual feed modes. and necessary page formatting commands.
  73.  
  74. (4)  Powerful Macros allow user to assign a combination of available commands
  75.      to one key. With conditional and unconditional Jump, it's more flexible.
  76.  
  77. (5)  Lines and characters deleted continuously by <DEL>, <BackSpace>,
  78.      <DelLine>,<DelToBegLine> and <DelToEndLine> can be totally recovered.
  79.  
  80. (6)  Display directory list and free disk spaces within NJSTAR.
  81.  
  82. (7)  Editing multiple files by simply press <NextFile><F10> or<PrevFile><@F10>
  83.  
  84. (8)  Faster screen display and ASCII input.
  85.  
  86. (9)  <WordLeft> and <WordRight> now search for Chinese Punctuation.
  87.  
  88. (10) When Enter a filename or search string, Editing keys can be used.
  89.  
  90. (11) Maximum size of LianXiang Dic has been increased to 73K bytes.
  91.      Maximum Len. of word which can be added into LXDIC has been increase to 40.
  92.  
  93. (12) Line and Col number are displayed, <GotoLine> goto specified Line.
  94.  
  95. (13) End of Line can be displayed to show where is the real end of the line.
  96.  
  97. (14)  When switch to next file, the marked block are stored for paste.
  98.  
  99. (15)  When Enter a PinYin without a Tune, the most commonly used chars are
  100.       displayed at top, un-commonly used chars are displayed at end.
  101.  
  102. -------------------------------------------------------------------------------
  103.                   NEW COMMANDS IN VERSION 1.20
  104.                (See Reversion History for Details)
  105. -------------------------------------------------------------------------------
  106.  
  107. (1)  <ToggleEOL><^F9> command for toggle the display of EOL mark.
  108.  
  109. (2)  <LianXiang><@X> to LianXiang previous Chinese Char.
  110.  
  111. (3)  <FileStatus><^F1> to display current file size, no. of Chinese
  112.      characters and no. of lines (Hard Line). the cursor line (hard) and
  113.      Col are also displayed at bottom line
  114.  
  115. (4)  <GotoLine><^F6> to go a specific line (NOTE only ENTER('\n')
  116.      is considered as a line, not the line displayed on the screen)
  117.      Program will ask for line no., you can response one of the following:
  118.  
  119.               Line: 100   goto line 100.
  120.               Line: +50   forward 50 lines.
  121.               Line: -20   backup 50 lines.
  122.               Line: 1     goto beginning of the file.
  123.               Line: $     goto end of the file.
  124.  
  125. (5)  <RepeatCmd><^F11> -- repeat previous command for no. of times.
  126.  
  127. (6)  <WordCount><^F5>  -- Count specified string (Can be Chinese)
  128.  
  129. (7)  <MacroRec> <F11> -- Start/stop Macro Recording
  130.  
  131. (8)  <MacroExec><F12> -- Execute Recorded Macros
  132.  
  133. (9)  <Jump> <JTrue> <JFalse> <Pause> #nn(ASCII) $nn(Sleep) for NJCONFIG
  134.  
  135. (10) <ZwSaveFile><#F2> - Save Current File in zW Format
  136.  
  137. (11) <ZwDecode  ><#F7> - Decode the current File in zW format
  138.  
  139. (12) <ZwEditFile><#F8> - Load a file which is zW encoded, and decode it.
  140.  
  141. (13) <HzSaveFile><#F4> - Save Current File in Hz Format
  142.  
  143. (14) <HzDecode  ><#F5> - Decode the current File in Hz format
  144.  
  145. (15) <HzEditFile><#F6> - Load a file which is Hz encoded, and decode it.
  146.  
  147. (16) <PcxSaveFile><#F3> - Create PCX files (one file per page)
  148.  
  149. (17) <PrevFile><@F10> - goto previous file in the file ring. use <NextFile><F10>
  150.      to goto Next file. Use <EditFile><F8> to add file to the file ring and
  151.      use <QuitFile><F3> or <SaveFile><F4> to Remove file from the file ring.
  152.  
  153. (18) <QuitAll> <^F3>  - Quit all the files in the Ring
  154.  
  155. (19) <ListDir> <@F1>  - display directory list, total files and free disk space.
  156.       When Enter a file name at bottom line, <ListDir><@F1> & <QuickHelp><F1>
  157.       will display a directory list based on the path name in the file name.
  158.  
  159. (20) <Print><^P> to print on 9pin and 24pin dot matrix printer
  160.  
  161. 1. Features of Version 1.0
  162. ====================================
  163.  
  164.     (0). NEW -- Print to Postscript Printer, use any font you have.
  165.     (1). Support PinYin, GuoBiao and QuWeiMa input.
  166.     (2). Efficient Chinese Input with LianXiang function.
  167.     (3). Dynamic PinYin table and LianXiang Table Sorting/Ordering.
  168.     (4). LianXiang Table can be expended with more words (up to 65Kb)
  169.     (5). Configurable Key strokes and Help screen.
  170.     (6). Screen display colors are also configurable.
  171.     (7). Many other options can be configured.
  172.     (8). Support EGA 19 lines and VGA 25 Lines display, Fast update.
  173.     (9). Search and replace functions.
  174.    (10). Block Mark, Move, Copy, Paste, Delete and Undelete.
  175.    (11). Line Delete and undelete.
  176.    (12). Support both FanTiZi and JianTiZi.
  177.    (13). Still can load first 65k if file size is larger then 65k.
  178.  
  179. 2. Program Usage
  180. ====================================
  181. (1).  NJSTAR [options] [filename, filename, ... filenames] [+linenum]
  182.  
  183.       All the argument are optional.
  184.       options:
  185.                -?/h -  help
  186.                -e  --  use EGA 19 line display even VGA screen installed
  187.                -v  --  no PinYin input and LianXiang (for RAM less then 512K)
  188.  NEW  [        -d  --  Start a demonstration (Automatically display file)
  189.   IN  [        -zW --  Edit zW encoded file, decode it after read.
  190. Ver1.2[        -Hz --  Edit Hz encoded file, decode it after read.
  191.  
  192.       filename: any file you want to edit. DOS wide card * and ? can be used
  193.       +linenum: start editing file on line [linenum]. $ == end of the file.
  194.       examples:
  195.                 NJSTAR njstar.man +200 njstar +$
  196.                 NJSTAR *.doc *.txt
  197.                 NJSTAR -e njstar.doc
  198.                 NJSTAR -v *.tx?
  199.  
  200. (2).  NJCONFIG
  201.       a. Colors
  202.          -- configure NJSTAR to use your favorite colors
  203.       b. General options
  204.          -- options concerns the initial mode of NJSTAR
  205.       c. Help screen
  206.          -- config help screen after you change NJCONFIG.HLP
  207.       d. Key configuration
  208.          -- config NJSTAR with your own key definitions(in file: NJCONFIG.KEY)
  209.       e. Printer settings
  210.          -- set parameters for printer
  211.  
  212.       please follow the instructions in the program.
  213.  
  214.  
  215. 3. The contents of shareware distribution disks
  216. ===============================================
  217. NJSTAR   EXE - the main program
  218. NJSTAR   MAN - NJSTAR User Manual (this file)
  219. NJSTAR   CHN - NJSTAR User Manual in Chinese
  220. PINYIN   DIC - PinYin Dictionary
  221. NANJILX  DIC - LianXiang Dictionary
  222. ORDER    FRM - Registration Order Form
  223. CCLIB    16  - Chinese Font file (simplified)
  224. READ     ME  - the information you should read first
  225.  
  226. NJCONFIG EXE - the configuration program
  227. NJCONFIG HLP - config file for help screen (change as you like)
  228. NJCONFIG KEY - config file for user defined keys (use you own key strokes)
  229. EMACS    KEY - NJSTAR's EMACS key configuration
  230. EMACS    HLP - NJSTAR's EMACS key configuration Help screen
  231. QUWEIMA  DOC - List of all Chinese chars with QuWeiMa
  232. GUOBIAO  DOC - List of all Chinese chars with GuoBiao
  233.  
  234. (optional)
  235. CCLIBF   16  - Chinese Font file (FanTiZi)
  236.  
  237. (For registered user)
  238.  
  239. Please use file ORDER.FRM for ordering a registered copy.
  240.  
  241. A registered NJSTAR.EXE which allow user to Save PinYin and LianXiang
  242. Dictionary automatically, and save and print your file up to 65Kb.
  243. Your Name will be displayed on opening screen and the closing screen
  244. is disabled.
  245.  
  246. PLUS:
  247. -----
  248. LXGB2DIC EXE - Add Words from file to Lianxiang dictionary,
  249.                and Delete listed Words fro Lianxiang dictionary
  250.  
  251. PRINTPS  EXE - Print Chinese Document to PostScript Code
  252.    Can Use Any Font: 16x16 24x24 48x48 64x64
  253.    Default Font is:  CCLIB.24 (FTP one from ahkcus.org)
  254.  
  255.    To use CCLIB.16:  PRINTPS -z16 -cCCLIB.16  GBfile PSfile
  256.    To use CCLIB.48:  PRINTPS -z48 -cCCLIB.48  GBfile PSfile
  257.    To use CCLIBF.16: PRINTPS -z16 -cCCLIBF.16 GBfile PSfile
  258.  
  259. CCLIB.24    - 24x24 JianTiZi for 24pin printer and PRINTPS
  260. CCLIBF.24   - 24x24 FanTiZi  for 24pin printer and PRINTPS
  261.  
  262.  
  263. 4. Chinese Character Input Methods  ╓╨╬─╩Σ╚δ╖¿
  264. ================================================
  265.  
  266. a. PinYin  ╞┤╥⌠╩Σ╚δ╖¿   <Alt+F5>
  267.    --------------------------------
  268.    Standard PinYin is used plus a Tune(1=╥⌡╞╜, 2=╤⌠╞╜, 3=╔╧╔∙, 4=╚Ñ╔∙, 5=╟ß╥⌠).
  269.  
  270.    Examples: ─╧=nan2 ╝½=ji2 ╨╟=xing2 ┼«=nuu3  ┼½=nu2  ┬├=luu3  ┬«=lu2 ├┤=me5.
  271.  
  272.    Only lower case chars are used for PinYin,  all  upper  case  chars  are
  273.    inserted into file.
  274.  
  275.    'ng' in ang, eng, ing and ong can be shorted as 'g', eg. HOG for HONG
  276.  
  277.    Once you enter a valid PinYin with Tune  (eg.  nan2),  all  the  Chinese
  278.    Chars with that pronunciation will be displayed (10  Chars  at  a  time,
  279.    press '>' or '<' to view others.) Use 1,2,...9,0 to select  one  of  the
  280.    Chinese characters.
  281.  
  282.    NJSTAR will automatically LianXiang next Chinese Char whenever a Chinese
  283.    Character is inserted into the editing file. You can prevent NJSTAR from
  284.    automatically  LianXiang  next  char  by  Pressing  Alt  key   and   the
  285.    corresponding number (0,1,2...9) at same time.
  286.  
  287.    When NJSTAR is in LianXiang mode, press a number  (0,1..9)  will  select
  288.    the character from the list. Type any letter  (a-z)  will  automatically
  289.    clear LianXiang Mode and start New PinYin input.
  290.  
  291.    As you can see that before you  finishing  PinYin  input  with  a  Tune,
  292.    Chinese characters with that PinYin are already displayed.  Because  the
  293.    selection list is very long without a Tune, so NjSTAR still wait for you
  294.    to enter a Tune (1,2,3,4,5).  If  you  see  what  you  want  is  already
  295.    displayed, and you do not want to enter the Tune,  You  can  select  the
  296.    character by pressing ALT key and the number at same time.
  297.  
  298.    during  PinYin  input  or  LianXiang  mode,  if  more  than  10  Chinese
  299.    characters are in the list, '<' and/or '>' will be displayed  at  bottom
  300.    line to remind you there are more characters for selection. press '>' to
  301.    view next 10 characters, press '<' to view previous 10 characters.
  302.  
  303.    At any time, Space bar can be used to select first  Char,  since  NJSTAR
  304.    will automatically move the Chinese character you have used to the first
  305.    position on its list, use of space bar will increase the  Chinese  input
  306.    speed by not to press number '1'. space bar is more easy to press :-).
  307.  
  308.    Since space bar ' ', comma ',' and dot '.' are used  to  select  Chinese
  309.    Characters. If you want to insert those three chars  into  file,  please
  310.    press ALT key and space bar to insert a space ' ', ALT+',' for comma and
  311.    ALT+'.' for dot.
  312.  
  313.    Press ESC at any time to clear PinYin input or LianXiang Mode.
  314.  
  315.    You can also enter symbols using following PinYin:
  316.  
  317.    VA1-VA5 -- Chinese symbols and Chinese Numbers
  318.    VE1-VE2 -- ASCII characters in Chinese GB encoding
  319.    VI1-VI5 -- Table drawing Characters
  320.  
  321. b. QuWeiMa    ╟°╬╗┬δ╩Σ╚δ╖¿ <Alt+F3>
  322.    ---------------------------------
  323.    (See QUWEIMA.DOC or Section II for the coding of all Chinese Characters)
  324.    All Chinese Characters are coded in 4 digits number as follows:
  325.  
  326.    0101 -- 1594  Symbols
  327.    1601 -- 5594  Common Chinese
  328.    5601 -- 8794  UNCOMMON Chinese
  329.  
  330.    when you enter first two digits, all the 94 chars Chars in  the  section
  331.    will be displayed. you can keep  enter  another  two  digits  to  finish
  332.    QuWeiMa input. or, you can select one of the Chars by press ALT key  and
  333.    the number at same time.
  334.  
  335.    '<' (,) and '>' (.) key can be used to view next/prev 10 chars.
  336.    Alt+',' is used to insert a comma, Alt+'.' for inserting a dot (.).
  337.    Space bar is used to select first Char, alt-space is used to insert a space.
  338.  
  339. c. GuoBiaoMa    ╣·▒Ω┬δ╩Σ╚δ╖¿  <Alt+F4>
  340.    -------------------------------------
  341.    (See GUOBIAO.DOC or Section III for the coding of all Chinese Characters)
  342.  
  343.    A1A1 --  AFFE  Symbols
  344.    B0A1 --  D7FE  Common Chinese
  345.    D8A1 --  F7FE  UNCOMMON Chinese
  346.  
  347. d. Add LianXiang     ╘÷╝╙┴¬╧δ   <Ctrl+F8>
  348.    ---------------------------------------
  349.    Press AddLX <^F8>, move cursor to other end or enter the  Chinese  word,
  350.    press ^F8 again. The word in between two position are added to lianXiang
  351.    Dictionary. you can save the LianXiang dictionary use SaveDic (Ctrl_F2).
  352.  
  353. e. ASCII input    ╙ó╬─╩Σ╚δ╖¿   <Alt+F4>
  354.    --------------------------------------
  355.    ALL upper case are insert into file,  lower  case  in  ASCII  mode  also
  356.    insert into file. Chars with  ASCII  code  128-160  can  be  entered  by
  357.    pressing Alt key, and the numbers on the right hand numerical keypad.
  358.  
  359. f. Ci2 Zu3 input      ┤╩╫Θ┴¬╧δ╩Σ╚δ╖¿
  360.    -----------------------------------
  361.    When NJSTAR is LianXiang Mode, it is possible to input more one Chars at
  362.    one time (CiZu), if you enter a Chinese char(eg. │╦) and it has  a  CiZu
  363.    to LianXiang with(press '>' if necessary), you will see at  bottom  line
  364.    like this:
  365.  
  366.    __________________________________________________________________________
  367.    ╞┤╥⌠ + ┴¬╧δ   <> 1_╖τ 2_╞╞ 3_└╦
  368.  
  369.    Press 1 or space bar to insert all three chars into file.  So  you  will
  370.    get │╦╖τ╞╞└╦. If you press 2 or 3, only one char  is  inserted.  If  you
  371.    only want to select first char, press ALT+'1'.
  372.  
  373. g. PureChinese input    ┤┐╓╨╬─╩Σ╚δ  <Ctrl+F9>
  374.    --------------------------------------------
  375.    In pure Chinese mode, all the ASCII characters on the keyboard  will  be
  376.    automatically mapped to Chinese counterparts as you  pressing  the  key.
  377.    The ASCII stop char '.' will be correctly mapped to  Chinese  stop  char
  378.    'íú'. This mode is good for Editing Pure Chinese Document.
  379.  
  380.  
  381. 5.  NJSTAR Commands in detail
  382. ===============================================
  383.  
  384. -------------+-----------+-----------------------------------------------------
  385. Commands     <Default Key>
  386. -------------+-----------+-----------------------------------------------------
  387. -----------------------------------------------------------------------------
  388. (1). File Management
  389.  
  390. QuickHelp    | F1
  391. -----------------------------------------------------------------------------
  392.              Display Help screen (Can be configured by NJCONFIG), there are
  393.              24 lines in file NJCONFIG.HLP for configuration, each line can
  394.              be as long as 80 characters. Only 17 Lines can be displayed on
  395.              EGA screen. If you have modified file NJCONFIG.HLP,  you  need
  396.              to run NJCONFIG in order to write Help screen to NJSTAR.EXE.
  397.  
  398. SaveFile     | F2
  399. -----------------------------------------------------------------------------
  400.              Save current editing file to disk. if disk is full or the file
  401.              is read only, an error message will be displayed on the bottom
  402.              line.
  403.  
  404. QuitFile     | F3
  405. -----------------------------------------------------------------------------
  406.              Exit the NJSATR. if the current editing file is modified,  you
  407.              need to confirm if you are sure to QUIT. Press 'Y' if you  are
  408.              sure not to save current file , Press 'N' if you want to  save
  409.              the file, press 'File'<F4> instead.
  410.  
  411. File         | F4
  412. -----------------------------------------------------------------------------
  413.              Save the file to disk, if file is  saved  safely  then  NJSTAR
  414.              will exit, but is if disk is full or the file is READ ONLY, an
  415.              error message will be displayed on the bottom  line.  you  are
  416.              staying in NJSTAR. if the disk is full, you have to change the
  417.              disk; if current editing  file  is  READ  ONLY,  you  can  use
  418.              'RenameFile' to rename current file to another file name, then
  419.              'File' or 'SaveFile' again.
  420.  
  421. RenameFile   | F7
  422. -----------------------------------------------------------------------------
  423.              Rename the current file to  another  name.  The  program  will
  424.              prompt you to enter the new file name. You  always  can  abort
  425.              the input by pressing ESC key.
  426.  
  427. EditFile     | F8
  428. -----------------------------------------------------------------------------
  429.              Edit  another  file  on  disk.  If  current  editing  file  is
  430.              modified, you need to confirm whether you  want  to  save  the
  431.              current file. If you answer N(o), the modification in  current
  432.              file will be lost.
  433.  
  434. NextFile     | F10
  435. -----------------------------------------------------------------------------
  436.              Edit next file on command line. It is possible to give  NJSTAR
  437.              more then one file for editing. The DOS wide card * and ?  can
  438.              be used on  command  line,  for  example:  NJSTAR  *.doc
  439.  
  440.              This command is used to load all the files on command line one
  441.              at a time. It works as a ring:
  442.  
  443.                                     NextFile
  444.                   FILE1.DOC ------------------------> FILE2.DOC
  445.                      ^                                   |
  446.              Nextfile|                                   | NextFile
  447.                      |                                   |
  448.                      |                                   V
  449.                   FILE4.DOC <------------------------ FILE3.DOC
  450.                                     NextFile
  451.  
  452.  
  453. SaveDic      | ^F2
  454. -----------------------------------------------------------------------------
  455.              Save  PinYin  and  LianXiang  Dictionary  to  disk.  Only  the
  456.              Registered users can use this command.
  457.  
  458. SaveAs       | ^F3
  459. -----------------------------------------------------------------------------
  460.              Save current editing file with another file name to disk,  the
  461.              current file name is not changed. If disk is full or a writing
  462.              error occurred, The file will not be properly saved.
  463.  
  464. SaveAll      | ^F4
  465. -----------------------------------------------------------------------------
  466.              Save the current editing file, PinYin dictionary and LianXiang
  467.              Dictionary to disk. if every thing is saved, then NJSTAR  will
  468.              Exit to DOS, but if save operation is failed, NJSTAR will  not
  469.              Exit to DOS.
  470.  
  471. TimeDate     | ^T
  472. -----------------------------------------------------------------------------
  473.              Insert  Current  Date  and  Time  into  file   using   Chinese
  474.              Convention, The program get date and time from computer clock,
  475.              so if the clock is not correctly set, the inserted string will
  476.              not correct.
  477.  
  478. (2). Cursor Movement
  479.  
  480. TabRight     | TAB
  481. -----------------------------------------------------------------------------
  482.              Move to next Tab position by insert spaces.
  483.  
  484. CursorLeft   | LEFT
  485. -----------------------------------------------------------------------------
  486.              Move to previous characters, if the cursor is on the beginning
  487.              of current line, the cursor will move to end of previous line.
  488.              If the cursor is on Top Left of the screen, the screen display
  489.              will scroll up one line.
  490.  
  491. CursorRight  | RIGHT
  492. -----------------------------------------------------------------------------
  493.              Move to next character, if the cursor is on the end of current
  494.              line, the cursor will move to beginning of next line.  If  the
  495.              cursor is on bottom right of the screen,  the  screen  display
  496.              will scroll down one line.
  497.  
  498. CursorUp     | UP
  499. -----------------------------------------------------------------------------
  500.              Move the cursor one line up. If the cursor is on Top  line  of
  501.              the screen, the screen display will scroll up one line.
  502.  
  503. CursorDown   | DOWN
  504. -----------------------------------------------------------------------------
  505.              Move the cursor one line down. If the cursor is on bottom line
  506.              of the screen, the screen display will scroll down one line.
  507.  
  508. PageUp       | PGUP
  509. -----------------------------------------------------------------------------
  510.              Move the cursor to  bottom  of  previous  page,  then  display
  511.              previous page.
  512.  
  513. PageDown     | PGDN
  514. -----------------------------------------------------------------------------
  515.              Move the cursor to top of next page, then display next page.
  516.  
  517. BegLine      | HOME
  518. -----------------------------------------------------------------------------
  519.              Move the cursor to the beginning of current line.
  520.  
  521. EndLine      | END
  522. -----------------------------------------------------------------------------
  523.              Move the cursor to the end of current line.
  524.  
  525. BegFile      | ^HOME
  526. -----------------------------------------------------------------------------
  527.              Move the cursor to the beginning of the file, and redisplay.
  528.  
  529. EndFile      | ^END
  530. -----------------------------------------------------------------------------
  531.              Move the cursor to the end of the file, and redisplay.
  532.  
  533. BegScreen    | ^UP   /^a
  534. -----------------------------------------------------------------------------
  535.              Move the cursor to the Top left of the current display screen.
  536.  
  537. EndScreen    | ^DOWN /^z
  538. -----------------------------------------------------------------------------
  539.              Move the cursor to the bottom left of the current display
  540.              screen.
  541.  
  542. WordLeft     | ^LEFT
  543. -----------------------------------------------------------------------------
  544.              Move to beginning of previous word. All Chinese Character  and
  545.              ASCII letters (a-z, A-Z), numbers (0-9) and underscore (_) are
  546.              considered as word. other characters are  considered  as  word
  547.              separators. A Chinese Space Chars (A1A1) is not considered  as
  548.              a word separator.
  549.  
  550. WordRight    | ^RIGHT
  551. -----------------------------------------------------------------------------
  552.              Move to beginning of next  word.  All  Chinese  Character  and
  553.              ASCII letters (a-z, A-Z), numbers (0-9) and underscore (_) are
  554.              considered as word. other characters are  considered  as  word
  555.              separators. A Chinese Space Chars (A1A1) is not considered  as
  556.              a word separator.
  557.  
  558. ScrollUp     | @UP   /^u
  559. -----------------------------------------------------------------------------
  560.              Scroll the screen display up one line, it  works  nicely  till
  561.              beginning of the file.
  562.  
  563. ScrollDown   | @DOWN /^d
  564. -----------------------------------------------------------------------------
  565.              Scroll the screen display down one line, till end of the file.
  566.  
  567.  
  568. (3). Line Editing
  569.  
  570.  
  571. Enter        | ENTER
  572. -----------------------------------------------------------------------------
  573.              Insert a newline '\n' char and goto Beginning of next line
  574.  
  575. DelChar      | DEL
  576. -----------------------------------------------------------------------------
  577.              Delete the character at the current cursor  position,  if  the
  578.              current cursor is on end of the line, the next  line  will  be
  579.              joined to current line.
  580.  
  581. BackSpace    | BACKSPACE
  582. -----------------------------------------------------------------------------
  583.              Delete the  character  before  the  cursor  position,  if  the
  584.              current cursor is on beginning of the line, the  current  line
  585.              will be joined to previous line.
  586.  
  587. DupLine      | ^L
  588. -----------------------------------------------------------------------------
  589.              this command will duplicate current line to two lines.
  590.  
  591. DelLine      | ^BS
  592. -----------------------------------------------------------------------------
  593.              This command deletes current screen line(not a physical line),
  594.              All deleted characters can recovered by 'UndelLine' command.
  595.  
  596. DelToBegLine | ^J
  597. -----------------------------------------------------------------------------
  598.              This command deletes all the characters up to begining of  the
  599.              current  screen  line,  include  current  char.  The   deleted
  600.              characters can recovered by 'UndelLine' command.
  601.  
  602. DelToEndLine | ^K/^E
  603. -----------------------------------------------------------------------------
  604.              This command deletes all the  characters  up  to  end  of  the
  605.              current screen line, not include current char and not  include
  606.              the newline '\n' char, but if current line have only a newline
  607.              char (that is a blank line), the newline char will be deleted.
  608.              The deleted characters can recovered by 'UndelLine' command.
  609.  
  610. UnDelLine    | F9
  611. -----------------------------------------------------------------------------
  612.              Recovers characters deleted by 'DelLine',  'DelToBegLine'  and
  613.              'DelToEndLine', and insert into current cursor position.
  614.  
  615. (4). Block Manipulation
  616.  
  617. GotoBlock    | ^G
  618. -----------------------------------------------------------------------------
  619.              Move the cursor to the beginning of  the  marked  block.  This
  620.              command provides a way to find the marked block.
  621.  
  622. MarkLine     | @L
  623. -----------------------------------------------------------------------------
  624.              Mark Current line as start or end of the block.
  625.  
  626. MarkBlock    | @B
  627. -----------------------------------------------------------------------------
  628.              Mark Current character as start or end of the block.
  629.  
  630. CopyBlock    | @C
  631. -----------------------------------------------------------------------------
  632.              Copy the marked block to current cursor position. This command
  633.              can't be used between files. use 'Copy' and 'Paste' instead.
  634.  
  635. MoveBlock    | @M
  636. -----------------------------------------------------------------------------
  637.              Move the marked block to current cursor position. This command
  638.              can't be used between files. use 'Copy' and 'Paste' instead.
  639.  
  640. DelBlock     | @D
  641. -----------------------------------------------------------------------------
  642.              Delete Current Marked block, and store in internal buffer,  it
  643.              can be recovered by 'UnDelBlock', or pasted by  'Paste'.  Only
  644.              the last deleted block can be recovered.
  645.  
  646. Copy         | @W
  647. -----------------------------------------------------------------------------
  648.              This command will store the marked block  in  internal  buffer
  649.              and intended for use by 'Paste'. In this  way,  you  can  Copy
  650.              Blocks between files.
  651.  
  652. Paste        | @Y
  653. -----------------------------------------------------------------------------
  654.              Insert the  internal  buffer(store  by  'Copy')  into  current
  655.              position. you can paste as many times as it is needed.
  656.  
  657. UnMarkBlock  | @U
  658. -----------------------------------------------------------------------------
  659.              Un-Mark any Block just marked.
  660.  
  661. UnDelBlock   | @F9
  662. -----------------------------------------------------------------------------
  663.              this command will recover a  block  you  deleted  lately.  the
  664.              recovered block will be display as marked block.
  665.  
  666. (5). Search & Replace
  667.  
  668. Search        | F5
  669. -----------------------------------------------------------------------------
  670.               User are  prompted  for  input  the  search  string.  Chinese
  671.               characters can be entered using one of the input methods.  If
  672.               it is not first time you  press  this  key,  the  old  search
  673.               string will be displayed. If you want to enter a new  string,
  674.               use Ctrl_Backspace to clear whole string.  Press  ENTER  when
  675.               finish. ESC key will abort the input of search string.  If  a
  676.               match is found, the cursor will  move  to  the  beginning  of
  677.               matched  string.  If  no  match  found,  a  message  will  be
  678.               displayed at bottom line.
  679.  
  680. SearchForward | ^F
  681. -----------------------------------------------------------------------------
  682.               Search the same string again in forward  direction  till  the
  683.               end of file. If no search string  are  set  by  'Search'<F5>.
  684.               User are also prompted for input  the  search  string.  If  a
  685.               match is found, the cursor will  move  to  the  beginning  of
  686.               matched  string.  If  no  match  found,  a  message  will  be
  687.               displayed at bottom line.
  688.  
  689.  
  690. SearchBackward| ^B
  691. -----------------------------------------------------------------------------
  692.               Search the same string again in backward direction  till  the
  693.               beginning  of  file.  If  no  search  string   are   set   by
  694.               'Search'<F5>. User are also prompted  for  input  the  search
  695.               string. If a match is found, the  cursor  will  move  to  the
  696.               beginning of matched string. If no  match  found,  a  message
  697.               will be displayed at bottom line.
  698.  
  699. SearchReplace | F6
  700. -----------------------------------------------------------------------------
  701.               User are prompted for input the search and  replace  strings.
  702.               If it is not first time you press this key,  the  old  search
  703.               and replace string will be displayed. If you want to enter  a
  704.               new string, use Ctrl_Backspace to clear whole  string.  Press
  705.               ENTER key when you finish input search  and  replace  string.
  706.               ESC key will abort the Replace commands. If a  search  string
  707.               is found, the cursor will move to the beginning of the string
  708.               found, and the following prompt is displayed:
  709.  
  710.               Replace: (Yes/No/Go/Only/Quit)?
  711.  
  712.               Then program wait for your response of one of the following:
  713.  
  714.                    Y(es)  - Replace this match and update display, then
  715.                             search next one.
  716.                    N(o)   - Do not replace this one, but continue to search
  717.                             for next match and move to next one.  till end
  718.                             of file.
  719.                    O(nly) - Replace this one only and updated display, then
  720.                             quit.
  721.                    Q(uit) - Don't replace anything, Just get out.
  722.  
  723.               If no match found, a message will be displayed at bottom line.
  724.  
  725.               The replace function is carry out in forward direction,
  726.               backward replacing is not implemented.
  727.  
  728. (6). Chinese Input Management
  729.  
  730. ASCinput     | @F6
  731. -----------------------------------------------------------------------------
  732.              In this mode, only standard ASCII characters can  be  entered.
  733.              the file name and file size are displayed at bottom line.  the
  734.              '*' in front of  'Bytes'  indicate  the  this  file  has  been
  735.              modified.
  736.  
  737. PYinput      | @F5
  738. -----------------------------------------------------------------------------
  739.              In PinYin input  mode,  lower  case  characters  are  used  to
  740.              compose a pinyin. All upper case characters are inserted  into
  741.              file. see section 4.a. for detail of input Chinese.
  742.  
  743. QWinput      | @F3
  744. -----------------------------------------------------------------------------
  745.              In GuoBiao input  mode,  lower  case  characters  'a'-'f'  and
  746.              number '0'-'9' are used to  compose  a  GuoBiaoMa.  All  other
  747.              characters are inserted into file. see section 4.b. for detail
  748.              of input Chinese.
  749.  
  750. GBinput      | @F4
  751. -----------------------------------------------------------------------------
  752.              In GuoBiao input  mode,  lower  case  characters  'a'-'f'  and
  753.              number '0'-'9' are used to  compose  a  GuoBiaoMa.  All  other
  754.              characters are inserted into file. see section 4.c. for detail
  755.              of input Chinese.
  756.  
  757. LianXiang    | @X
  758. -----------------------------------------------------------------------------
  759.              LianXiang Previous Chinese Character
  760.  
  761. AddLX        | ^F8
  762. -----------------------------------------------------------------------------
  763.              Move the cursor to beginning of  the  word,  the  press  AddLX
  764.              <^F8> [Add LianXiang] in Chinese will be displayed  at  bottom
  765.              right to remind you that you are now in 'AddLX' mode. move the
  766.              cursor to end of the word or enter a word, Press  AddLX  <^F8>
  767.              again, the  word  in  between  two  cursor  position  will  be
  768.              automatically added into LianXiang dictionary.  so  next  time
  769.              you enter the first Chinese Zi(char), the rest of word will be
  770.              LianXiang'ed. In this way, you can add all your commonly  used
  771.              words into LianXiang  dictionary  if  is  not  there.  The  LX
  772.              dictionary can be up to 65k Bytes.
  773.  
  774. SwitchCCLIB  | ^F10
  775. -----------------------------------------------------------------------------
  776.              This command will switch the Chinese display between  JianTiZi
  777.              and FanJiZi, CCLIB.16 is  the  font  file  for  JianTiZi,  and
  778.              CCLIBF.16 is the font file for FanTiZi.
  779.  
  780. PureChinese  | ^F9
  781. -----------------------------------------------------------------------------
  782.              In pure Chinese input  mode,  All  the  ASCII  characters  are
  783.              mapped  to  Chinese  counterparts.  the  ASCII  stop  '.'  are
  784.              correctly mapped to Chinese stop (a round circle, not a dot).
  785.  
  786.  
  787.  
  788. ===============================================================================
  789. H                              Appendix                                       H
  790. ===============================================================================
  791.  
  792. A. List of Commands for configuration by function
  793. =================================================
  794.  
  795. (1). File Management
  796. -------------+-----------+-----------------------------------------------------
  797. Commands     | Def Key   | Function Description
  798. -------------+-----------+-----------------------------------------------------
  799. QuickHelp    | F1        | Display Help screen (Can be configured by NJCONFIG)
  800. SaveFile     | F2        | Save Current editing file to disk.
  801. QuitFile     | F3        | Quit the NJSATR (need to confirm if file is changed)
  802. File         | F4        | Save the file and quit
  803. RenameFile   | F7        | Rename the current file to another name
  804. EditFile     | F8        | Edit another disk file.(confirm saving current file)
  805. NextFile     | F10       | Edit next file on command line
  806. SaveDic      | ^F2       | Save PinYin and LianXiang Dictionary to disk
  807. SaveAs       | ^F3       | Save current editing file with another file name
  808. SaveAll      | ^F4       | File + SaveDic
  809. TimeDate     | ^T        | Insert Date and Time in Chinese
  810. -------------+-----------+-----------------------------------------------------
  811.  
  812. (2). Cursor Movement
  813. -------------+-----------+-----------------------------------------------------
  814. Commands     | Def Key   | Function Description
  815. -------------+-----------+-----------------------------------------------------
  816. TabRight     | TAB       | Move to next Tab position and insert spaces
  817. CursorLeft   | LEFT      | Move to previous char
  818. CursorRight  | RIGHT     | Move to next char
  819. CursorUp     | UP        | Move one line up
  820. CursorDown   | DOWN      | Move one line down
  821. PageUp       | PGUP      | Move to previous page
  822. PageDown     | PGDN      | Move to next page
  823. BegLine      | HOME      | Move to Beginning of the line
  824. EndLine      | END       | Move to End of the line
  825. BegFile      | ^HOME     | Move to Beginning of the file
  826. EndFile      | ^END      | Move to End of the file
  827. BegScreen    | ^UP   /^a | Move to Top of the screen
  828. EndScreen    | ^DOWN /^z | Move to End of the screen
  829. WordLeft     | ^LEFT     | Move to Beginning of previous word
  830. WordRight    | ^RIGHT    | Move to Beginning of next word
  831. ScrollUp     | @UP   /^u | Scroll up one line
  832. ScrollDown   | @DOWN /^d | Scroll down one line
  833. -------------+-----------+-----------------------------------------------------
  834.  
  835. (3). Line Editing
  836. -------------+-----------+-----------------------------------------------------
  837. Commands     | Def Key   | Function Description
  838. -------------+-----------+-----------------------------------------------------
  839. DelChar      | DEL       | Delete current char at cursor
  840. Enter        | ENTER     | Insert a line feed and goto Beginning of next line
  841. BackSpace    | BACKSPACE | Delete previous char
  842. DupLine      | ^L        | Duplicate a line
  843. DelLine      | ^BS       | Delete a line
  844. UnDelLine    | F9        | Un-Delete a deleted line
  845. DelToBegLine | ^J        | Delete to Beginning of the line
  846. DelToEndLine | ^K/^E     | Delete to end of the line
  847. -------------+-----------+-----------------------------------------------------
  848.  
  849. (4). Block Manipulation
  850. -------------+-----------+-----------------------------------------------------
  851. Commands     | Def Key   | Function Description
  852. -------------+-----------+-----------------------------------------------------
  853. GotoBlock    | ^G        | Goto Beginning of the marked block
  854. MarkLine     | @L        | Mark a Line
  855. MarkBlock    | @B        | Mark a Block
  856. CopyBlock    | @C        | Copy Marked Block to current position
  857. MoveBlock    | @M        | Move Marked Block to current position
  858. DelBlock     | @D        | Delete Marked Block
  859. Copy         | @W        | Copy Marked block to internal buffer
  860. Paste        | @Y        | paste internal buffer to current position
  861. UnMarkBlock  | @U        | Un-mark marked block
  862. UnDelBlock   | @F9       | Un-delete a deleted block
  863. -------------+-----------+-----------------------------------------------------
  864.  
  865. (5). Search & Replace
  866. --------------+----------+-----------------------------------------------------
  867. Commands      | Def Key  | Function Description
  868. --------------+----------+-----------------------------------------------------
  869. Search        | F5       | search a string
  870. SearchReplace | F6       | search and replace string
  871. SearchForward | ^F       | search again forward
  872. SearchBackward| ^B       | search again backward
  873. --------------+----------+-----------------------------------------------------
  874.  
  875. (6). Chinese Input Management
  876. -------------+-----------+-----------------------------------------------------
  877. Commands     | Def Key   | Function Description
  878. -------------+-----------+-----------------------------------------------------
  879. ASCinput     | @F6       | ASCII input mode
  880. PYinput      | @F5       | PinYin input mode
  881. GBinput      | @F4       | GuoBiao input mode
  882. QWinput      | @F3       | QuWei input mode
  883. LianXiang    | @X        | LianXiang Previous Chinese
  884. AddLX        | ^F8       | Add more words to LianXiang Dictionary
  885. SwitchCCLIB  | ^F10      | Switch between FanTiZi and JianTiZi
  886. PureChinese  | ^F9       | Pure Chinese Input mode
  887. -------------+-----------+-----------------------------------------------------
  888.  
  889.  
  890. B. List of all Configurable keys
  891. ===================================
  892.     ^ = Ctrl   @ = Alt   # = Shift
  893.  
  894. a. Standard keyboard
  895.    --------------------------------------
  896.     F1-F10   #F1-F10    @F1-F10   ^F1-F10
  897.     @A-Z      ^A-Z
  898.     --------------------------------------
  899.      @/     @'   ^-     @;   ^2   @=  ^6
  900.      @[     ^BackSlash  ^]   @BackSlash
  901.      @]     @`   #Tab
  902.     --------------------------------------
  903.      BS         @BS          ^BS
  904.      DEL
  905.      DOWN
  906.      END        @END         ^END
  907.      ENTER      @ENTER       ^ENTER
  908.      ESC        @ESC
  909.      HOME                    ^HOME
  910.      INS
  911.      LEFT                    ^LEFT
  912.      PGDN                    ^PGDN
  913.      PGUP
  914.      RIGHT                   ^RIGHT
  915.      TAB
  916.      UP
  917.  
  918. b. Enhanced Keyboard only
  919.    ---------------------------
  920.    F11   @F11  ^F11  #F11
  921.    F12   @F12  ^F12  #F12
  922.    @-            @HOME
  923.    @+            @UP
  924.    ^PGUP         @PGUP
  925.    ^UP           @LEFT
  926.    ^GREY-        @RIGHT
  927.    ^GREY+        @END
  928.    ^GREY/        @DOWN
  929.    ^GREY*        @PGDN
  930.    ^KAYPAD5      @INS
  931.    ^DOWN         @DEL
  932.    ^INS          @GREY/
  933.    ^DEL          @TAB
  934.    ^TAB          @GREY_ENTER
  935.  
  936. c. Meta Keys
  937.    ---------------------------------
  938.    In order to let NJSTAR able to use same key stroke as EMACS or WordStar,
  939.    A meta key is provided for this purpose. currently, meta  commands  only
  940.    work with control keys (meta+^A -- meta+^Z). in key  configuration  file
  941.    <NJCONFIG.KEY> you must firstly define the metakey itself,  then  define
  942.    the meta commands:
  943.  
  944.    ^X        MetaKey
  945.    Meta+^A   ....
  946.    ...
  947.    Meta+^Z   ....
  948.  
  949.    If you press ^X key, the program will wait for you to press another
  950.    control key.
  951.  
  952.  
  953. C. Reversion History
  954. ===============================================
  955.  
  956. 03/07/91   Ver 1.00
  957.            First release.
  958.  
  959. 06/07/91   Ver 1.01
  960.            When replace, 'G' option did not work, Fixed.
  961. 07/07/91   Alt_',' == ',' Alt_'.' == '.' ;
  962.            display disappeared when UP to first line with only '\n', Fixed.
  963.  
  964. 11/07/91   Ver 1.02
  965.            Hang on search forward when Chinese Characters mis-matched, FIXED.
  966.            Hang on search backward when Chinese Characters mis-matched,FIXED.
  967.            When replace, 'N' option does not work, Fixed.
  968.            Do not re-load pinyin dictionary when switch CCLIB.
  969.  
  970. 15/07/91   Ver 1.03
  971.            DupLine hangs when EOF on current line. Fixed.
  972.  
  973. 21/07/91   Ver 1.04
  974.            Add <ToggleEOL><^F9> command for toggle the display of EOL mark.
  975.  
  976. 22/07/91   Ver 1.05
  977.            User Assembly code for Screen write and clear, speed increase 20%.
  978.            add <LianXiang><@X> to LianXiang previous Chinese Char.
  979.  
  980. 23/07/91   Ver 1.06
  981.            add <FileStatus><^F1> to display current file size, no. of Chinese
  982.            characters and no. of lines (Hard Line). the cursor line (hard) and
  983.            Col are also displayed at bottom line
  984.            
  985.            CHANGE: <AddLX>, Now have to Mark the Word then <AddLX>
  986.  
  987. 24/07/91   ver 1.07 
  988.            Add <GotoLine><^F6> to go a specific line (NOTE only ENTER('\n')
  989.            is considered as a line, not the line displayed on the screen)
  990.            Program will ask for line no., you can response one of the fllowing:
  991.  
  992.              Line: 100   goto line 100.
  993.              Line: +50   forward 50 lines.
  994.              Line: -20   backup 50 lines.
  995.              Line: 1     goto beginning of the file.
  996.              Line: $     goto end of the file.
  997.  
  998.            Add +num option for NJSTAR command line to start editing on
  999.            line [num].  For example: 
  1000.                 NJSTAR file1.gb +100 file2.gb +$  
  1001.            will start file1.gb on line 100 and start file2.gb at end.
  1002.  
  1003.            NEW: Meta key can be configured with 0-9, A-Z and special chars(<96)
  1004.                 (SEE: NJCONFIG.KEY for detail).
  1005.  
  1006. 25/07/91   Ver 1.09
  1007.            Add <RepeatCmd><^F11> -- repeat previous command for no. of times.
  1008.            Add <WordCount><^F5>  -- Count specified string (Can be Chinese)
  1009.  
  1010. 26/07/91   Ver 1.10
  1011.            Add <MacroRec> <F11> -- Start/stop Macro Recording
  1012.            Add <MacroExec><F12> -- Execute Recorded Macros
  1013.            Add <Jump> <JTrue> <JFalse> <Pause> #nn(ASCII) $nn(Sleep) for
  1014.                NJCONFIG
  1015.  
  1016. *------------------------------------------------------------------------------
  1017. * Macro commands - Excute more than one command with one key stroke, plus more.
  1018. *
  1019. * NOTE: Using Macro Commands in NJCONFIG
  1020. *       1. macro command start with 'Macro'
  1021. *       2. '&' at and means continue at next line
  1022. *       3. '#' followed by number n == Insert Ascii n into Macro key.
  1023. *           Max n is 160, n can be specified as: DEC $150; OCT $083; HEX $0xA0.
  1024. *       4. '$' followed by number n == Sleep n ticks before exec. next command.
  1025. *       5. Lebeles are a name+':'; eg. BEG: END:, Max number of Labeles is 64.
  1026. *       6. Jump   Beg: == Jump to Label Beg: unconditionally
  1027. *       7. JTrue  Beg: == Jump to Beg: if previous command is executed Ok
  1028. *       8. JFalse Beg: == Jump to Beg: if previous command is executed NOT Ok
  1029. *       9. Pause == Stop Macro Execution till Enter/ESC is Pressed
  1030. *      10. "XXXX" or 'XXXX' == insert XXXX into Macro key. eg "I'AM Typping"
  1031. *
  1032. * Eg.  Meta+^N   Macro "Njstar" '─▀║Φ▓¿' #155 #156
  1033. *      Meta+^L   Macro beg: Scrolldown Jfalse end: JUMP beg: &
  1034. *                      end: BegFile $180 Jump beg:
  1035. *------------------------------------------------------------------------------
  1036.  
  1037. 28/07/91   Version 1.12
  1038.            Add fuctions for handling 2 Encodings for E-mail
  1039.            1. Hz Encoding:
  1040.                           c =  0 - 31  ---> ~(C~)     *** C= c+32;
  1041.                           c = 32 -127  --->   C       *** C= c;
  1042.                           c = 128-160  ---> ~[C~]     *** C= c-96;
  1043.                           c = 161-254  ---> ~{C~}     *** C= c-128;
  1044.            2. zW Encoding:
  1045.               (1) All line start with zW, max len=78;
  1046.               (2) Chinese Chars(161-254/0xA1-0xFE) are masked with high bit OFF
  1047.               (3) All other chars are preceded with a blank
  1048.               (4) End of Line ('\n') are coded as '#\n'
  1049.  
  1050.               eg.               Njstar ─▀║Φ▓¿
  1051.               will be coded as:
  1052.                                 zW N j s t a r  D_:h2(#
  1053.  
  1054.  
  1055.            ZwSaveFile<#F2> - Save Current File in zW Format
  1056.            ZwDecode  <#F7> - Decode the current File in zW format
  1057.            ZwEditFile<#F8> - Load a file which is zW encoded, and decode it.
  1058.  
  1059.            HzSaveFile<#F4> - Save Current File in zW Format
  1060.            HzDecode  <#F5> - Decode the current File in zW format
  1061.            HzEditFile<#F6> - Load a file which is zW encoded, and decode it.
  1062.  
  1063.            PcxSaveFile<#F3> - Creat PCX files (one file per page)
  1064.  
  1065.            Command Line Options: -
  1066.                -zW --  Edit zW encoded file, decode it after read.
  1067.                -Hz --  Edit Hz encoded file, decode it after read.
  1068.  
  1069. 01/08/91   Version 1.15
  1070.            Fixed the File Ring.
  1071.            Add <PrevFile><@F10> - goto previous file
  1072.                <QuitAll> <^F3>  - Quit all the files in the Ring
  1073.                <ListDir> <@F1>  - display directory list, total files and 
  1074.                                   free disk space.
  1075.            When Enter a file name at bottom line, <ListDir><@F1> &
  1076.            <QuickHelp><F1> will display a diractory list based on the path name
  1077.            in the file name.
  1078.                                 
  1079.            Changes:   <SaveAll> now do not save LianXiang&PinYin Dict
  1080.                       <QuitFile> now do not EXIT njstar if more files on the
  1081.                                  files ring.
  1082.  
  1083. 02/08/91   Changes: 1. All the chars continuously deleted with <BackSpace>
  1084.                        <BS> & <DelChar><DEL> are saved in delete buf, It can
  1085.                        be undeleted by <UnDelLine><F9>.
  1086.  
  1087.                     2. All the Lines deleted with <DelLine><^BS>,
  1088.                        <DelToBegLine><^J> and <DelToEndLine><^K> are stored in
  1089.                        same buffer as <DelChar> and <BackSpace>. It can be
  1090.                        undeleted by <UnDelLine><F9>.
  1091.  
  1092.                     3. The Maximum Length of the delete buffer can be configured                       in NJCONFIG (default = 5Kb).
  1093.  
  1094. 03/08/91   Changes: 1. In GBinput and QWinput, LianXiang'ed chars can not be
  1095.                        selected, FIXD.
  1096.  
  1097.                     2. Befor finishing Enter a pinyin with Tune, The Order of
  1098.                        listed chinese chars is changed to: Common Chars first, 
  1099.                        Un-common chars at end. Common CC orsed by Tune(12345).
  1100.  
  1101.                     3. Max size of LianXiang Dic increased to 73K bytes.
  1102.  
  1103.                     4. The Max word Length for <AddLX> increased to 80 chars.
  1104.  
  1105.                     5. When NJSTAR prompt for input, the file name or search
  1106.                        string can be edited by following keys: <Cursorleft>
  1107.                        <LEFT>, <CursorRight><RIGHT>, <BegLine><HOME>, 
  1108.                        <EndLine><END>, <DelLine><^BS>, <DelChar><DEL> and 
  1109.                        <BackSpace><BS>. if the first key is a not one of above
  1110.                        commands, the default string (or filename) will 
  1111.                        disapeared.
  1112.  
  1113.                        If NJSTAR is waiting for a file name, F1 will list the
  1114.                        Diractory (Path is specified in file name).
  1115.  
  1116. 08/08/91   Add <Print><^P> to print on 9p / 24p dot matrix printer
  1117.            Njstar will ask for:
  1118.                 (1). Printer Type (9_Pin  2_4Pin)?
  1119.                 (2). Paper Feeding (C-Continuous M-Manual)?
  1120.                 (3). Printing Region (A-All  M-Marked)? (if marked)
  1121.  
  1122.            Formating Commands:
  1123.                 (1). \NewPage             or    \╗╗╥│
  1124.                      Force to Print on a new page
  1125.  
  1126.                 (2). \PageNumber=nn       or    \╥│║┼=nn
  1127.                      Specify the current page number to nn
  1128.  
  1129.                 (3). \NumberStyle="(%d)"  or    \╥│▒Ω="╡┌ %d ╥│"
  1130.                      Specify the Page Number Style, '%d' print current page no.
  1131.  
  1132.                 (4). \LeftMargin=nn       or    \╫≤┐╒=nn
  1133.                      Set Left Margin to nn Chinese Chars.
  1134.  
  1135.                 (5). \RightMargin=nn      or    \╙╥┐╒=nn
  1136.                      Set Rightt Margin to nn Chinese Chars.
  1137.  
  1138.                 (6). \LineSpace=nn        or    \╨╨╛α=nn
  1139.                      Set the space between lines to nn.
  1140.  
  1141.                 (7). \Font=nn             or    \╫╓║┼=nn
  1142.                      Set the Size of Chinese Chars to nn.
  1143.                         nn = 0  ---- Small Size   
  1144.                         nn = 1  ---- Normal Size   
  1145.                         nn = 2  ---- Large Size   
  1146.  
  1147.                 (8). \AsciiWidth=nn       or    \╫╓─╕=nn
  1148.                      nn = 0  --- Use symbol in CCLIB for ASCII characters   
  1149.                      nn > 12 --- Specify the width (in dots, CC has 24 dot)
  1150.                                  of one ascii char of Printer default font.
  1151.                            This is very important for Njstar to formating
  1152.                            the printout properly if use printer font.
  1153.  
  1154.                 (9). \Center              or    \╓╨╨─
  1155.                      Center the current Line (Hard Line) on Print Out.
  1156.  
  1157.                 (10).\NoPageNumber        or    \╬▐╥│║┼
  1158.                       Do not print Page number.
  1159.  
  1160.           All Above commands must start at beginning of the Line, 
  1161.           '\\' will print a '\'.
  1162.  
  1163.           Options Configured in NJCONFIG:
  1164.                (1) Printer Port (Lpt1/Lpt2)?
  1165.                (2) Lines per page
  1166.                (3) line length in Chinese chars
  1167.                (4) Default left margin
  1168.                (5) Default right margin
  1169.                (6) line spacing
  1170.                (7) special formating commands
  1171.                (8) extra line of form feed (if Printer's FF is not enough)
  1172.                (9) Page numbering (Y/N)?
  1173.                (10) Use Ascii Symbols in CCLIB for Ascii Chars (Y/N)?
  1174.                (11) The width of one ascii char of printer default font
  1175.  
  1176. 09/08/91   Intelligent Pinyin LianXiang -- Keep typing PinYin without selection
  1177.  
  1178.            Example supose I want type: ─╧╝½╨╟╓╨╬─╧╡═│
  1179.            type 'nan' you will get:
  1180.            ________________________________________________________________
  1181.            ╞┤╥⌠ nan2   1 ─╧ 2 ─╤ 3 ─╨ 4 α½ 5 Θ¬
  1182.  
  1183.            Press <Space> you will get:
  1184.            ─╧
  1185.            _________________________________________________________________
  1186.            ╞┤╥⌠ + ┴¬╧δ > 1 ▒▒ 2 ▓² 3 ╖╜ 4 ╝½ 5 ╛⌐ 6 ├µ 7 ─■ 8 ╬│ 9 ┼╖ 0 ╤╟
  1187.  
  1188.            Just type 'ji2' instead of press 4, you will see
  1189.            ─╧
  1190.            _________________________________________________________________
  1191.            ╞┤╥⌠ ji2    > 1 ╝½ 2 ╝░ 3 ╝╢ 4 ╝┤ 5 ╝¬ 6 ╝» 7 ╝▒ 8 ╝« 9 ╜σ 0 ßº
  1192.  
  1193.            Pree <Space> again 
  1194.            ─╧╝½
  1195.            _________________________________________________________________
  1196.            ╞┤╥⌠ + ┴¬╧δ > 1 ╡π 2 ╢╚ 3 ╢╦ 4 ╞Σ 5 ╧▐ 6 ╓╡ 7 ╙╥ 8 ╫≤ 9 ┤≤ 0 ╨í
  1197.  
  1198.            Do not worry, keey type 'xing1' 
  1199.            ─╧╝½
  1200.            _________________________________________________________________
  1201.            ╞┤╥⌠ xing1   1 ╨╟ 2 ╨╦ 3 ╨╚ 4 ╨╔ 5 ╨╩
  1202.  
  1203.            Press <Space>
  1204.            ─╧╝½╨╟
  1205.            _________________________________________________________________
  1206.            ╞┤╥⌠ + ┴¬╧δ > 1 ╝╩ 2 ┐╒ 3 ╞┌ 4 ╟≥ 5 ╠σ 6 ╧╡ 7 ╘╞ 8 ╫∙ 9 ═¿ 0 │╟
  1207.  
  1208.            Type 'zhong1' press <space>
  1209.            ─╧╝½╨╟╓╨
  1210.            _________________________________________________________________
  1211.            ╞┤╥⌠ + ┴¬╧δ > 1 ╣· 2 ╬─ 3 ▓¿ 4 ▓┐ 5 ▓π 6 ╢╛ 7 ╡╚ 8 ╡π 9 ╢½ 0 ╢╧
  1212.  
  1213.            Type 'wen2' 
  1214.            ─╧╝½╨╟╓╨
  1215.            _________________________________________________________________
  1216.            ╞┤╥⌠ wen2  1 ╬─ 2 ╬┼ 3 ╬├ 4 ╬╞ 5 π╙ 6 Φ╖ 7 ÷⌐
  1217.  
  1218.            Press <space> 
  1219.            ─╧╝½╨╟╓╨╬─
  1220.            _________________________________________________________________
  1221.            ╞┤╥⌠ + ┴¬╧δ > 1 ╒¬ 2 ▒╛ 3 ╖¿ 4 ╝■ 5 ╛▀ 6 ╗» 7 ╜╠ 8 ├≈ 9 ╩Θ 0 ╬∩
  1222.            
  1223.            Keep typing 'xi4' <Space> 'tong' <Space>, finally we have got
  1224.                 ─╧╝½╨╟╓╨╬─╧╡═│
  1225.  
  1226.            There is almost no need for press '<' and '>' key and don't have
  1227.            to look at bottom line, just keep typing Pinyin with/without
  1228.            Tune, then press <space>. That is all, It is easy, and Fast.
  1229.  
  1230. 10/08/91   Changes:
  1231.               (1). <WordLeft> and <WordRight> now consider all symbols:
  1232.                    (eg. 'íúú¼ú«ú║ú╗íóú┐í¡íñí¬úíú└úúíτúÑú▐úªúñí«í»í░í▒') 
  1233.                    in CCLIB as punctuation mark. so those commands move over
  1234.                    sentence by sentence in Chinese or Word by word in ASCII.
  1235.  
  1236.               (2). Screen display is much faster in ASCII mode
  1237.  
  1238. 11/08/91   NEW: In ASCII mode, the cursor row & col number are displayed.
  1239.  
  1240.  
  1241. 01/09/91   Ver 1.20
  1242.            Second Release
  1243. -----------------------------------------------------------------------------
  1244.